package com.ats.serviceimpl;

import net.sf.json.JSONArray;
import net.sf.json.JSONObject;

import com.ats.dao.GetLeaveDao_ty;
import com.ats.dao.LeaverDao_ty;
import com.ats.daoimpl.GetLeaveDaoImpl_ty;
import com.ats.daoimpl.LeaveDaoImpl_ty;
import com.ats.service.GetNoApprovalsService_ty;

public class GetNoApprovalServiceImpl implements GetNoApprovalsService_ty{
	GetLeaveDao_ty getnoappleave=new GetLeaveDaoImpl_ty();
	@Override
	public JSONObject getNoApprovals(int iid,int page,int rows){
		return getnoappleave.getNoApproval(iid,page,rows);
	}
	@Override
	public boolean setNoApproval(int lid) {
		// TODO Auto-generated method stub
		return getnoappleave.setleaver(lid);
	}
	@Override
	public boolean setNoReson(int lid, String noreson) {
		// TODO Auto-generated method stub
		return getnoappleave.setNoReson(lid, noreson);
	}
}
